package demo.qualifier;

import demo.autowired.Product;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created with IntelliJ IDEA.
 * User: supereme
 * Date: 8/26/13
 * Time: 1:30 AM
 * To change this template use File | Settings | File Templates.
 */
public class App {
    public static void main(String args[]) {
        ApplicationContext context = new ClassPathXmlApplicationContext(
                "application-context.xml");

        MovieRecommender movieRecommender = (MovieRecommender) context.getBean("movieRecommender");
        System.out.print(movieRecommender);
    }
}
